package com.lmy.mallback.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmy.mallback.entity.Product;

import java.util.List;
import java.util.Map;

/**
* @author lmy
* @description 针对表【t_product】的数据库操作Service
* @createDate 2023-01-11 11:45:06
*/
public interface ProductService extends IService<Product> {

    List<Product> list(Map<String, Object> map);

    Long getTotal(Map<String, Object> map);

    void add(Product product);

    void update(Product product);
    Product findById(Integer id);
}
